all: test_getpid test_fork minix_divzero 
# Which compiler
CC = gcc

# Where are include files kept
INCLUDE = .

# Options for development
# CFLAGS = -v -O3 -Wall -ansi

test_getpid: test_getpid.c 
	$(CC)  $(CFLAGS) -MMD -MP -ldl -o test_getpid test_getpid.c  

test_fork: test_fork.c 
	$(CC)  $(CFLAGS) -MMD -MP -ldl -o test_fork test_fork.c  

minix_divzero:  minix_divzero.c 
	$(CC)  $(CFLAGS) -MMD -MP -ldl -o  minix_divzero  minix_divzero.c    
	
clean:
	rm -f test_getpid test_fork minix_divzero moltest
